package org.itboys.mobile.entity.mongo;

import org.itboys.mongodb.entity.BaseMongoEntity;
import org.mongodb.morphia.annotations.Entity;

/**
 * Auther: 罗尧坤
 * Date: 2018/7/17
 * Description: 集楼_楼盘预约记录实体类
 */

@Entity(value = "SundayYuyue", noClassnameStored = true)
public class SundayYuyue extends BaseMongoEntity {
    //属性
    private Long productId;//楼盘id
    private String productName;//楼盘名称
    private Long memberId;//用户id
    private String memberName;//用户名
    private String phone;//电话号码
    private int status;//标记状态, 0: 未处理, 1: 已处理

    //空构造器
    public SundayYuyue() {
    }

    //构造器
    public SundayYuyue(Long productId, Long memberId, String phone) {
        this.productId = productId;
        this.memberId = memberId;
        this.phone = phone;
    }

    //getter, setter
    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public Long getProductId() {
        return productId;
    }

    public void setProductId(Long productId) {
        this.productId = productId;
    }

    public Long getMemberId() {
        return memberId;
    }

    public void setMemberId(Long memberId) {
        this.memberId = memberId;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public String getMemberName() {
        return memberName;
    }

    public void setMemberName(String memberName) {
        this.memberName = memberName;
    }
}
